package org.csmzxy.class2333;

class Student2 {
    static String name;  //静态变量
    int age;             //实例变量
    public Student2(){
        System.out.print("执行构造方法");
    }
    {
        System.out.print("执行实例代码块");
        age = 18;
    }
    static {
        System.out.print("执行静态代码块");
        name = "张三";
    }
}
